/*

* Copyright (C) 2023, KylinSoft Co., Ltd.

*

* This program is free software; you can redistribute it and/or modify

* it under the terms of the GNU General Public License as published by

* the Free Software Foundation; either version 3, or (at your option)

* any later version.

*

* This program is distributed in the hope that it will be useful,

* but WITHOUT ANY WARRANTY; without even the implied warranty of

* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the

* GNU General Public License for more details.

*

* You should have received a copy of the GNU General Public License

* along with this program; if not, see <http://www.gnu.org/licenses/&gt;.

*

*/



#ifndef STATESLIDER_H
#define STATESLIDER_H
#include <QSlider>
#include <QDebug>
#include <QWidget>
#include <QMouseEvent>

//#include "ktabbar.h"
#include "kslider.h"
//#include "kwidget.h"

using namespace kdk;

class StateSlider : public KSlider
{
    Q_OBJECT
public:
    StateSlider(QWidget *parent = 0);
    ~StateSlider();
    void mousePressEvent(QMouseEvent *event);

public Q_SLOTS:
    void sliderValueChanged(int);

private:
    void setSliderValue();

};

#endif // STATESLIDER_H
